package WWW::NikePlus::Run;

use strict;

our $VERSION = '0.01';

sub new{
  my $class = shift(@_);
  my $self = {@_};

  foreach my $required(qw{ user_agent run_id }){
      die(__PACKAGE__ . "::new requires parameter: [$required]\n")
            unless (exists($self->{$required}));
  }

  $self = bless($self, $class);


  return $self;
}
